<!DOCTYPE html>
<html lang="zh-CN">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <script>
    // let age = 18, uname = '泽哥'
    // let age = 18
    // let uname = '泽哥'
    // console.log(age, uname);
    let uname = prompt('请输入姓名')
    document.write(uname)
  </script>
</body>

</html>